package com.mf.all.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mf.all.utils.tree.AbstractTreeNode;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 字典数据
 *
 * @date 2025-04-02 22:36:47
 */

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_dic")
public class DtoDic extends AbstractTreeNode<DtoDic, Integer, Integer> implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * 字典编号
     */

    private String dicLabel;
    /**
     * 字典值
     */

    private String dicValue;
    /**
     * 级联父ID
     */

    private Integer pid;
    /**
     * 显示顺序(越大越前)
     */

    private Integer sort;
    /**
     * 状态,1启用0禁用
     */

    private Integer status;
    /**
     * 所属部门
     */

    private Integer deptId;
    /**
     * 备注
     */

    private String remark;
    /**
     *
     */
    @TableId

    private Integer id;
    /**
     *
     */

    private String douser;
    /**
     *
     */

    private LocalDateTime dotime;
    /**
     *
     */

    private LocalDateTime uptime;
}
